package com.yunche.yunchebusiness.mvp.contract

import com.yunche.yunchebusiness.base.mvp.IBasePresenter
import com.yunche.yunchebusiness.base.mvp.IBaseView

/**
 * Create by Crcker on 2019/1/10 11:04
 * Email: Crcker@163.com
 */


class UpdateContract {
    interface View : IBaseView {
        fun hasNewVersion(info: String, downloadUrl: String, isMust: Boolean)
        fun noNewVersion()
    }

    interface Presenter : IBasePresenter<View> {
        fun checkVersion(versionCode: String, type: Int)
    }
}